package com.xjrsoft.module.iot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author tzx
 * @since 2024-04-10
 */
@TableName("xjr_iot_dic")
@ApiModel(value = "IotDic对象", description = "")
@Data
public class IotDic implements Serializable {

    private static final long serialVersionUID = 1L;

      private Long id;

      @ApiModelProperty("分组id")
      private Long groupId;

      @ApiModelProperty("连接id")
      private Long linkId;

      @ApiModelProperty("变量名称")
      private String name;

      @ApiModelProperty("转换类型")
      private Integer trans;

      @ApiModelProperty("转换对应值 0 无 1 过滤 2 开方 3 线性 4 偏移")
      private String transValue;

      @ApiModelProperty("保存类型 0 不存储 1 改变值 存储  2 间隔  3 每次")
      private Integer saveType;

      @ApiModelProperty("保存类型为 1  就存储的 改变值  2 存储间隔值")
      private String saveValue;


      @ApiModelProperty("所选数据库连接")
      private String saveDb;

      @ApiModelProperty("读取方式")
      private String getStr;
}
